package javabase.biji;

import java.util.Objects;

/**
 * @Auther: luzhanshi
 * @Date: 2021/2/2 - 02 - 02 - 9:32 
 * @Description: javabase.biji
 * @version: 1.0
 */
public class _25Object {


   String name;
   int age;
   Float score;

    @Override
    public String toString() {
        return "_25Object{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        _25Object object = (_25Object) o;
        return age == object.age &&
                name.equals(object.name) &&
                score.equals(object.score);
    }


}
